package com.holiday;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication // 标识这是springboot的启动类
@ServletComponentScan // 标识针对过滤器进行扫描
@EnableScheduling // 开启定时任务
@EnableAsync// 开启异步
public class HolidaySpringBoot {

    public static void main(String[] args) {
        SpringApplication.run(HolidaySpringBoot.class, args);
    }
}
